package com.ruoyi.eam.mapper;

import java.util.List;

import com.ruoyi.eam.doman.EamAsset;
import com.ruoyi.eam.doman.EamChgH;

/**
 * 资产变更Mapper接口
 *
 * @author ruoyi
 * @date 2024-07-01
 */
public interface EamChgHMapper
{
    /**
     * 查询资产变更
     *
     * @param alterationId 资产变更主键
     * @return 资产变更
     */
    public EamChgH selectEamChgHByAlterationId(Long alterationId);

    /**
     * 查询资产变更列表
     *
     * @param eamChgH 资产变更
     * @return 资产变更集合
     */
    public List<EamChgH> selectEamChgHList(EamChgH eamChgH);

    /**
     * 新增资产变更
     *
     * @param eamChgH 资产变更
     * @return 结果
     */
    public int insertEamChgH(EamChgH eamChgH);

    /**
     * 修改资产变更
     *
     * @param eamChgH 资产变更
     * @return 结果
     */
    public int updateEamChgH(EamChgH eamChgH);

    public int returnChgReceiptsStatus(EamChgH eamChgH);

    /**
     * 删除资产变更
     *
     * @param alterationId 资产变更主键
     * @return 结果
     */
    public int deleteEamChgHByAlterationId(Long alterationId);

    /**
     * 批量删除资产变更
     *
     * @param alterationIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteEamChgHByAlterationIds(Long[] alterationIds);

    public List<EamChgH> queryEamChgHList();
}
